define('HomeView', [
  'jquery',
  'underscore',
  'backbone',
  'api',
  'text!templates/home.html'
], function ($, _, Backbone, api, tpl) {
  return Backbone.View.extend({
    initialize: function () {
      this.template = _.template(tpl);
    },

    render: function () {
      $(this.el).html(this.template());
      return this;
    }
  });
});
